.el-container {
    // min-width: auto; // 导致html里面的container的width没有继承父元素，溢出很多会在html里面有scroll
}

.el-aside {
    background-color: $bg-deep-grey;
    color: $border-white;
    text-align: left;
    // line-height: 200px;
    // min-height: 100vh;
    // max-width: 200px;
    // position: fixed;
    // left: 0;
    overflow-x: hidden; // todo 这里有超出部分
    -webkit-transition: width 0.28s;
    transition: width 0.28s;
    width: 210px !important;
    // background-color: #304156;
    height: 100%;
    position: fixed;
    font-size: 0px;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
}

// .sidebar-container {

// }


.el-main {
    background-color: $bg-grey;
    color: $text-black;
    // line-height: 160px; // 造成子元素占用空间太大，默认160px
    margin-top: 60px;
    height: calc(100vh - 60px);
    width: 100%;
}

.mainContainer {
    border-radius: 8px;
    border: 1px solid $border-white;
    background-color: $bg-white;
    min-height: calc(100% - 40px);
    padding: 10px;
    // width: 100%;
    position: relative;
}

.rightContainer {
    min-height: 100%;
    -webkit-transition: margin-left 0.28s;
    transition: margin-left 0.28s;
    margin-left: 210px;
    position: relative;
    .el-header {
        position: fixed;
        top: 0;
        min-width: calc(100% - 210px);
        background-color: $bg-white;
        z-index: 100;
        padding: 0px;
        // flex-grow: 1;
    }
}

#hideSidebar {
    .sidebar-container {
        width: 54px !important;
    }

    .rightContainer {
        margin-left: 54px;
    }
    .el-header{
        min-width: calc(100% - 54px);
    }
}